package com.itheima.service;

import com.itheima.domain.Account;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface AccountService {

    void transfer(Integer outId,Integer inId,Double money);

    @Transactional(readOnly = true)
    List<Account> findAll();
}
